package org.glut.backend.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 选座位详细信息
 *
 * @author xiuci1412
 * @since 2025-08-07 13:47
 */
@Data
public class ChooseSeatDetailVO {

    private Integer movieSchedulingId;

    private String cinemaName;

    private String filmName;

    /**
     * 排片日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate sliceArrangementDate;

    /**
     * 开始时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    private LocalDateTime startTime;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 播放厅
     */
    private String playHall;

    /**
     * 结束时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    private LocalDateTime endTime;

    //已支付或已下单未支付座位
    private List<String> soldList;
}
